home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / asm_subr.arc / STDCRLF < prev    next >
Encoding:
Text File  |  1985-09-24  |  896 b   |  26 lines

  1. ;-------------------------routine begins--------------------------+
  2. ; ROUTINE FOR SENDING CR LF TO STANDARD OUTPUT
  3. ;
  4. ; FUNCTION: This routine sends a carriage return and then a linefeed
  5. ;           through the standard output device. 
  6. ; INPUT: None
  7. ; OUTPUT: ASCII codes 13 <CR> and ASCII 10 <lf> are sent to the
  8. ;         standard output device.
  9. ; REGISTERS USED:  No registers are modified
  10. ; SEGMENTS REFERENCED:  None
  11. ; ROUTINES CALLED:  stdout
  12. ; SPECIAL NOTES: None
  13. ;
  14. stdcrlf    proc    far
  15.     push    dx        ; save registers
  16. ;
  17.     mov    al,13        ; ASCII carriage return
  18.     call    stdout        ; send it out
  19.     mov    al,10        ; ASCII line feed
  20.     call    stdout        ; send it out
  21. ;
  22.     pop    dx        ; restore registers
  23.     ret            ; return
  24. stdcrlf    endp
  25. ;-------------------------routine ends---------------------------+
  26.